using System;
using System.Collections.Generic;
using System.Text;

namespace Logging
{
    public class LogRecord
    {

        private Level level;
        private string message;

        private string ressourceBundleName;
        private string loggerName;
        private long millis;
        private object[] parameters;
        private long sequenceNumber;
        private string sourceClassName;
        private string sourceMethodName;
        private int threadID;
        private Exception exception;

        public LogRecord(Level level, string message)
        {
            this.level = level;
            this.message = message;
        }

        public string RessourceBundleName
        {
            get { return ressourceBundleName; }
            set { ressourceBundleName = value; }
        }

        public string LoggerName
        {
            get { return loggerName; }
            set { loggerName = value; }
        }

        public long Millis
        {
            get { return millis; }
            set { millis = value; }
        }

        public object[] Parameters
        {
            get { return parameters; }
            set { parameters = value; }
        }

        public long SequenceNumber
        {
            get { return sequenceNumber; }
            set { sequenceNumber = value; }
        }

        public int ThreadID
        {
            get { return threadID; }
            set { threadID = value; }
        }

        public Exception Exception
        {
            get { return exception; }
            set { exception = value; }
        }

        public string SourceClassName
        {
            get { return sourceClassName; }
            set { sourceClassName = value; }
        }

        public string SourceMethodName
        {
            get { return sourceMethodName; }
            set { sourceMethodName = value; }
        }

        public Level Level
        {
            get { return level; }
            set { level = value; }
        }

        public string Message
        {
            get { return message; }
            set { message = value; }
        }
    }
}
